package com.dongjiantong.sys.serviceImpl;

import com.alibaba.dubbo.config.annotation.Service;
import com.dongjiantong.mybatis.ServiceMybatis;
import com.dongjiantong.sys.mapper.WebModuleMapper;
import com.dongjiantong.sys.model.SysLabelModel;
import com.dongjiantong.sys.model.WebModule;
import com.dongjiantong.sys.service.WebModuleService;
import lombok.extern.slf4j.Slf4j;

import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by ThinkPad on 2018/1/16.
 */
@Slf4j
@Service(version = "1.0.0")
public class WebModuleServiceImpl extends ServiceMybatis<WebModule> implements WebModuleService {
    @Resource
    private WebModuleMapper webModuleMapper;

    @Override
    public List<WebModule> selectByPid(Long pid) {
        WebModule webModule = new WebModule();
        webModule.setPid(pid);
        return webModuleMapper.select(webModule);
    }
}
